package com.lc.mapper;

import com.lc.bean.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface SupplierMapper {

    // 查询列表数据
    @Select("select * from tb_supplier")
    List<Supplier> findAll();

    void save(Supplier supplier);

    void del(Integer uuid);

    Supplier findById(Integer uuid);

    void update(Supplier supplier);

    List<Supplier> findByConditions(Supplier supplier);

    List<Supplier> selectOptionItems();
}
